package 设计模式.结构模式.适配器模式;

/**
 * @author MT
 * @date 2019-11-13 17:54
 */
public class ObjectAdapter implements Target {

    private Adaptee adaptee;

    public ObjectAdapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    @Override
    public void request() {

        adaptee.specificRequest();
    }
}
